/**
 * APITable <https://github.com/apitable/apitable>
 * Copyright (C) 2022 APITable Ltd. <https://apitable.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* eslint-disable max-len */
import React from 'react';
import { makeIcon, IIconProps } from '../utils/icon';

export const LinkFilled: React.FC<IIconProps> = makeIcon({
    Path: ({ colors }) => <>
    <path d="M4.10983 6.23291C4.40273 5.94002 4.8776 5.94002 5.17049 6.23291C5.46339 6.5258 5.46339 7.00068 5.1705 7.29357L3.73482 8.72925C2.75848 9.70559 2.75848 11.2886 3.73482 12.2649C4.71116 13.2412 6.29413 13.2412 7.27047 12.2649L8.70615 10.8292C8.99904 10.5363 9.47391 10.5363 9.76681 10.8292C10.0597 11.1221 10.0597 11.597 9.76681 11.8899L8.33113 13.3256C6.76901 14.8877 4.23629 14.8877 2.67416 13.3256C1.11203 11.7634 1.11203 9.23072 2.67416 7.66859L4.10983 6.23291ZM10.8269 8.70849C10.534 9.00138 10.534 9.47625 10.8269 9.76915C11.1198 10.062 11.5947 10.062 11.8875 9.76915L13.3251 8.33162C14.8872 6.76949 14.8872 4.23678 13.3251 2.67465C11.7629 1.11252 9.23023 1.11252 7.6681 2.67465L6.23057 4.11217C5.93768 4.40507 5.93768 4.87994 6.23057 5.17284C6.52346 5.46573 6.99834 5.46573 7.29123 5.17283L8.72876 3.73531C9.7051 2.75897 11.2881 2.75897 12.2644 3.73531C13.2408 4.71165 13.2408 6.29462 12.2644 7.27096L10.8269 8.70849ZM10.8296 6.23248C11.1225 5.93959 11.1225 5.46472 10.8296 5.17182C10.5367 4.87893 10.0619 4.87893 9.76897 5.17182L5.17276 9.76801C4.87987 10.0609 4.87987 10.5358 5.17276 10.8287C5.46565 11.1216 5.94053 11.1216 6.23342 10.8287L10.8296 6.23248Z" fill={ colors[0] } fillRule="evenodd" clipRule="evenodd"/>

  </>,
  name: 'link_filled',
  defaultColors: ['#D9D9D9'],
  colorful: false,
  allPathData: ['M4.10983 6.23291C4.40273 5.94002 4.8776 5.94002 5.17049 6.23291C5.46339 6.5258 5.46339 7.00068 5.1705 7.29357L3.73482 8.72925C2.75848 9.70559 2.75848 11.2886 3.73482 12.2649C4.71116 13.2412 6.29413 13.2412 7.27047 12.2649L8.70615 10.8292C8.99904 10.5363 9.47391 10.5363 9.76681 10.8292C10.0597 11.1221 10.0597 11.597 9.76681 11.8899L8.33113 13.3256C6.76901 14.8877 4.23629 14.8877 2.67416 13.3256C1.11203 11.7634 1.11203 9.23072 2.67416 7.66859L4.10983 6.23291ZM10.8269 8.70849C10.534 9.00138 10.534 9.47625 10.8269 9.76915C11.1198 10.062 11.5947 10.062 11.8875 9.76915L13.3251 8.33162C14.8872 6.76949 14.8872 4.23678 13.3251 2.67465C11.7629 1.11252 9.23023 1.11252 7.6681 2.67465L6.23057 4.11217C5.93768 4.40507 5.93768 4.87994 6.23057 5.17284C6.52346 5.46573 6.99834 5.46573 7.29123 5.17283L8.72876 3.73531C9.7051 2.75897 11.2881 2.75897 12.2644 3.73531C13.2408 4.71165 13.2408 6.29462 12.2644 7.27096L10.8269 8.70849ZM10.8296 6.23248C11.1225 5.93959 11.1225 5.46472 10.8296 5.17182C10.5367 4.87893 10.0619 4.87893 9.76897 5.17182L5.17276 9.76801C4.87987 10.0609 4.87987 10.5358 5.17276 10.8287C5.46565 11.1216 5.94053 11.1216 6.23342 10.8287L10.8296 6.23248Z'],
  width: '16',
  height: '16',
  viewBox: '0 0 16 16',
});
